{include file="./headStart.tpl"}
{include file="./headEnd.tpl"}
<head>
<script type="text/javascript">
function deletechecked()
{
	var answer = confirm("Delete Selected Recored ?")
	if (answer)
	{
	  document.messages.submit();
	}
	return false;
} 
</script>
</head>
<form name="form" action="{$smarty.server.PHP_SELF}" id="form" method="post">
<input type="hidden" name="typeOfCallId" value="{$typeOfCallId}" />  
<table align="center" border="1" cellpadding="2" cellspacing="1" >
<tr>
  <td align="center" class="table1" colspan="3">Type Of Call Entry</td>
</tr>
<tr>
  <td align="right" class="table2">Enter Type :</td>
  <td class="table2"><input type="text" name="type" id="type" value="{$type}"></td>
</tr>
<tr>
  <td align="center" colspan="2" class="table2"><input class="button" type="submit" name="insertBtn" value="Submit" class="insertBtn" /></td>
</tr>
</table>
</form> 

<form action="{$smarty.server.PHP_SELF}" name='technician' method='POST'>
<table border='0' cellpadding='1' cellspacing='2' align='center'>
<tr>
  <td class="table1" align="center" colspan="3"><font style="font-size: 16px"><b> Type Of Call Available </b></font></td>
</tr>
<tr>
  <td  class="table1" align='center' ><B>&nbsp;</td>
  <td align="center" class="table1">S.R.No</td>
	<td  class="table1" align='center' ><B>Type Of Call Name</td>
</tr>
  {section name="sec1" loop=$typeOfCallIdDetailArray}
<tr>
  <td class="table3" align="center">
    <a href="typeOfCall.php?typeOfCallId={$typeOfCallIdDetailArray[sec1].typeOfCallId}" class="link"><img src="./images/b_edit.png" border="0" width="15" height="15"></a>
  </td>
  {*<td class="table3" align="center">  
	  <a href="typeOfCallDelete.php?typeOfCallId={$typeOfCallIdDetailArray[sec1].typeOfCallId}" class="link" onclick="return confirm('Are You Sure?');"><img src="./images/deleteIcon.png" border="0" width="15" height="15"></a>
  </td>*}
  <td class="table3" align="left">{$smarty.section.sec1.rownum}</td>
  <td class="table3" align="left">{$typeOfCallIdDetailArray[sec1].type}</td>
</tr>
{/section}
</table>
</form>
{include file="footer.tpl"}